home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / defcursor.z / defcursor
Encoding:
Text File  |  2002-10-03  |  2.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ddddeeeeffffccccuuuurrrrssssoooorrrr((((3333GGGG))))                                                    ddddeeeeffffccccuuuurrrrssssoooorrrr((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ddddeeeeffffccccuuuurrrrssssoooorrrr - defines a cursor glyph
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ddddeeeeffffccccuuuurrrrssssoooorrrr((((nnnn,,,, ccccuuuurrrrssss))))
  13.      sssshhhhoooorrrrtttt nnnn;;;;
  14.      uuuunnnnssssiiiiggggnnnneeeedddd sssshhhhoooorrrrtttt ****ccccuuuurrrrssss;;;;
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _n      expects the constant you want to assign as a cursor name. By
  18.             default, an arrow is defined as cursor 0 and cannot be redefined.
  19.  
  20.      _c_u_r_s   expects the bitmap for the cursor you want to define.  The bitmap
  21.             can be 16x16 or 32x32 and either one or two layers deep. This
  22.             parameter is ignored for cross-hair cursors.
  23.  
  24. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.      ddddeeeeffffccccuuuurrrrssssoooorrrr defines a cursor glyph with the specified name and bitmap. Call
  26.      ccccuuuurrrrssssttttyyyyppppeeee prior to calling ddddeeeeffffccccuuuurrrrssssoooorrrr to set the type and size of cursor it
  27.      defines.  The name parameter _n is used to identify the cursor glyph to
  28.      other cursor routines.  A subsequent call to ddddeeeeffffccccuuuurrrrssssoooorrrr with the same
  29.      value of _n will replace the current definition of the cursor with the new
  30.      one.
  31.  
  32.      By default, the cursor origin of a bitmap cursor is at (0,0), its lower-
  33.      left corner, and the cursor origin of a cross-hair cursor is at (15,15),
  34.      the intersection of its two lines.  Use ccccuuuurrrroooorrrriiiiggggiiiinnnn to set the cursor
  35.      origin to somewhere else.  The cursor origin is the position controlled
  36.      by valuators attached to the cursor, and is also the position ppppiiiicccckkkk uses
  37.      for the picking region.
  38.  
  39. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  40.      curorigin, curstype, getcursor, getgdesc, pick, setcursor
  41.  
  42. NNNNOOOOTTTTEEEESSSS
  43.      This routine is available only in immediate mode.
  44.  
  45.      Some models do not support two-layer cursor bitmaps.  Use the ggggeeeettttggggddddeeeesssscccc
  46.      inquiry GD_BITS_CURSOR to determine how many layers are supported.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.